package org.jeecg.modules.demo.crm.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.*;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

/**
 * @Description: 通知
 * @Author: jeecg-boot
 * @Date:   2025-07-27
 * @Version: V1.0
 */
@Data
@TableName("c_notice")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="c_notice对象", description="通知")
@Builder
@NoArgsConstructor // 自动生成无参构造方法
@AllArgsConstructor // 自动生成全参构造方法
public class CNotice implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**用户*/
    @ApiModelProperty(value = "用户")
    @Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "username", dicCode = "id")
    @Dict(dictTable = "sys_user", dicText = "username", dicCode = "id")
    private String userId;
	/**流程名称*/
	@Excel(name = "流程名称", width = 15)
    @ApiModelProperty(value = "流程名称")
    private String business;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
	/**执行人*/
	@Excel(name = "执行人", width = 15)
    @ApiModelProperty(value = "执行人")
    private String handler;
	/**业务状态*/
	@Excel(name = "业务状态", width = 15)
    @ApiModelProperty(value = "业务状态")
    private String status;
	/**处理结果*/
	@Excel(name = "处理结果", width = 15)
    @ApiModelProperty(value = "处理结果")
    private String results;
	/**点击跳转地址*/
	@Excel(name = "点击跳转地址", width = 15)
    @ApiModelProperty(value = "点击跳转地址")
    private String url;
	/**微信跳转地址*/
	@Excel(name = "微信跳转地址", width = 15)
    @ApiModelProperty(value = "微信跳转地址")
    private String wxUrl;
	/**微信处理状态*/
	@Excel(name = "微信处理状态", width = 15)
    @ApiModelProperty(value = "微信处理状态")
    private String wxStatus;
	/**微信处理消息*/
	@Excel(name = "微信处理消息", width = 15)
    @ApiModelProperty(value = "微信处理消息")
    private String wxMsg;
	/**微信通知opendi*/
	@Excel(name = "微信通知opendi", width = 15)
    @ApiModelProperty(value = "微信通知opendi")
    private String wxOpenId;
	/**邮箱处理状态*/
	@Excel(name = "邮箱处理状态", width = 15)
    @ApiModelProperty(value = "邮箱处理状态")
    private String mailStatus;
	/**邮箱处理消息*/
	@Excel(name = "邮箱处理消息", width = 15)
    @ApiModelProperty(value = "邮箱处理消息")
    private String mailMsg;
	/**邮箱号*/
	@Excel(name = "邮箱号", width = 15)
    @ApiModelProperty(value = "邮箱号")
    private String mailNo;
	/**是否已读*/
	@Excel(name = "是否已读", width = 15)
    @ApiModelProperty(value = "是否已读")
    private String isRead;

    /**用户*/
    @ApiModelProperty(value = "用户")
    @Excel(name = "用户", width = 15, dictTable = "c_email", dicText = "subject", dicCode = "id")
    @Dict(dictTable = "c_email", dicText = "subject", dicCode = "id")
    private String mailId;

    /**用户*/
    @ApiModelProperty(value = "用户")
    @Excel(name = "用户", width = 15, dictTable = "c_wx_msg", dicText = "business", dicCode = "id")
    @Dict(dictTable = "c_wx_msg", dicText = "business", dicCode = "id")
    private String wxMsgId;

}
